package com.zjl.mapper;

import com.zjl.domain.WalletRecord;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Author EternalPain
 * @Date 2023/1/31 18:46
 * @Version 1.0
 */
@Mapper
public interface WalletRecordMapper {

    boolean addRecord(WalletRecord record);

    boolean refund(int walletRecordId);

    List<WalletRecord> findRecord(int userId);
}
